package com.app.pojo;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 缴费记录表
 * </p>
 *
 * @author yoominic
 * @since 2024-08-03
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("tb_refund_records_log")
public class RefundRecordsLog implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 缴费记录ID
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 订单号
     */
    private String orderNo;

    /**
     * 户号
     */
    private String account;

    /**
     * 用户id(tb_user表id)
     */
    private Integer userId;

    /**
     * 金额
     */
    private BigDecimal payMoney;

    /**
     * 状态 1退款中 2退款成功 3退款失败
     */
    private String state;

    /**
     * 失败原因
     */
    private String reason;

    private LocalDateTime createTime;

    private LocalDateTime updateTime;


}
